import React from 'react';
import * as Bootstrap from 'react-bootstrap';
import BaseStepContainer from './BaseStepContainer';

export default class PageNotFoundContainer extends BaseStepContainer {
    
    render() {
        return (
            <Bootstrap.Grid>
                <Bootstrap.Row>
                    <Bootstrap.Jumbotron>
                        <h1>页面不存在</h1>
                        <p><Bootstrap.Button bsStyle="primary"
                                             onClick={() =>this.onBtnBackClick(this)}>返回</Bootstrap.Button>
                        </p>
                    </Bootstrap.Jumbotron>
                </Bootstrap.Row>
            </Bootstrap.Grid>
        );
    }

    onBtnBackClick() {
        this.props.history.push("");
    }

}
